/**
 * 用户信息
 */
export type IUserInfoVo = {
  userId: number
  userName: string
  groupName: string
  groupId: number
  phonenumber: string
  sex: number
  email: string
  dept: any[]
}
export type ITenantInfoVo = {
  tenantId: number
  name: string
  logoUrl: string
  contactInfo: string
  agreement: string
  remark: string
}
/**
 * 登录返回的信息
 */
export type IUserLogin = {
  // id: string
  // username: string
  // token: string
  accessToken: string
  access_token: string
  refreshToken: string
  expiresTime: number
  userId: number
}

/**
 * 获取验证码
 */
export type ICaptcha = {
  captchaEnabled: boolean
  uuid: string
  img: string
}
/**
 * 上传成功的信息
 */
export type IUploadSuccessInfo = {
  fileId: number
  originalName: string
  fileName: string
  storagePath: string
  fileHash: string
  fileType: string
  fileBusinessType: string
  fileSize: number
}
/**
 * 更新用户信息
 */
export type IUpdateInfo = {
  id: number
  name: string
  sex: string
}
/**
 * 更新用户信息
 */
export type IUpdatePassword = {
  id: number
  oldPassword: string
  newPassword: string
  confirmPassword: string
}
